<div id="content">
                    	<h3>Chi tiết sản phẩm</h3>
                        
                        <a class="back" href="<?php echo base_url() ?>index.php/Quanlysanpham/index">Quay lại</a>
                        
                        <div id="contentFunc">
                        	<div class="khuvuc-anh">
                            	<div class="anh-chinh">
                                	<img src="<?php echo base_url().$sanpham['hinh'] ?>" alt="curious-heart"/>
                                </div>
                                
                                <div class="anh-phu">
                                	<?php 
										if(!empty($hinhs))
										{
											foreach ($hinhs as $h)
											{
												echo "<div class='anh2'>";
												echo	"<img src='".base_url().$h['tenhinh']."' alt='".$h['mah']."' class='prod-thumd thumb1'/>";
												echo "</div>";
											}
										}
									?>	
                                </div> 
                            </div>
                           
                            <div class="khuvuc-thongtinSP">
                                <div class="thongtin">
                                    <p class="value">Đơn giá: <?php echo $sanpham['dongia'] ?></p>
                                    <p class="value">Số lượng tồn: <?php echo $sanpham['soluong'] ?></p>
                                    <p class="value">Số lượt xem: <?php echo $sanpham['soluotxem'] ?></p>
                                    <p class="value">Số lượt đặt hàng: <?php echo $sanpham['soluotdathang'] ?></p>
                                </div>
                                
                                <div class="updateSP">
                                        <a href="<?php echo base_url()."index.php/Quanlysanpham/sua/{$sanpham['masp']}"?>"><input class="btnSuaSP" type="button" value="Sửa"/></a>
                                        
                                        <a href="<?php echo base_url()."index.php/Quanlysanpham/xoa/{$sanpham['masp']}"?>"><input class="btnXoaSP" type="button" value="Xóa"/></a>
                                </div>
                                
                                <h3 class="tenSP"><?php echo $sanpham['tensanpham'] ?></h3>  
                                                             
                                <div class="tiengviet"> 
                                   <p class="tomtat"><?php echo $sanpham['mota'] ?></p>
                                   <p class="gioithieu"><?php echo $sanpham['chitiet'] ?></pv>
                                 </div>
                                 <hr />
                                 <div class="tienganh">  
                                   <p class="tomtat"><?php echo $sanpham['mota_en'] ?></p>
                                   <p class="gioithieu"><?php echo $sanpham['chitiet_en'] ?></p>
                                 </div> 
                            </div>
                        </div>
                    </div>
            </div>